package com.shycloud.mido.opter.api.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author Xiaoxing Yu
 * @date 2020/9/29
 **/
@Data
@TableName(value = "stock_process_detail")
public class StockProcessDetail {

	private Long id;

	//入库仓库ID
	private Integer inWarehouseId;

	//出库仓库ID
	private Integer outWarehouseId;

	//关联订单号
	private Long orderNo;

	//商品ID
	private Integer goodsId;

	//处理时间
	private LocalDateTime processDate;

	//总共处理数量
	private Integer totalAmount;

	//报废数量
	private Integer scrapedAmount;

	//待维修数量
	private Integer repairAmount;

	//调拨数量 供仓库间调拨使用
	private Integer exchangeAmount;

	//附件URL 1-5
	@TableField("file_url_1")
	private String fileUrl1;

	@TableField("file_url_2")
	private String fileUrl2;

	@TableField("file_url_3")
	private String fileUrl3;

	@TableField("file_url_4")
	private String fileUrl4;

	@TableField("file_url_5")
	private String fileUrl5;

	//备注
	private String comments;

	//制单人
	private String createdBy;

	//创建时间
	private LocalDateTime createTime;

	//处理类型 调拨类型 1-维修调拨 2-仓库间调拨
	private String processType;

}
